package com.goods.business.converter;


import com.goods.common.model.business.InStock;
import com.goods.common.vo.business.InStockVO;
import org.springframework.beans.BeanUtils;

/**
 * @Author: 赵勇镔
 * @Time: 2021/6/9 10:51
 * @Description: 转化vo
 */
public class InStockConverter {


    public static InStockVO converterProductVO (InStock inStock){
        InStockVO inStockVO = new InStockVO();
        BeanUtils.copyProperties(inStock,inStockVO);
        return inStockVO;
    }
}
